projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c493e0b
)
Fix -maybe-get-prefix-title use of key-binding
author
Justin Burkett
<justin@burkett.cc>
Tue, 4 Oct 2016 20:48:40 +0000
(16:48 -0400)
committer
Justin Burkett
<justin@burkett.cc>
Tue, 4 Oct 2016 20:48:40 +0000
(16:48 -0400)
key-binding doesn't work with all forms of key strings.
See #143
which-key.el
patch
|
blob
|
history
diff --git
a/which-key.el
b/which-key.el
index 6e92281fd31565864c70f237c77fff3a04eb45c4..61ef9014a8a33d25f9ce22014c86aabe88df118d 100644
(file)
--- a/
which-key.el
+++ b/
which-key.el
@@
-1303,7
+1303,7
@@
An empty stiring is returned if no title exists."
(mode-alist (assq major-mode alist))
(mode-res (when mode-alist
(assoc-string keys mode-alist)))
- (binding (key-binding
keys
))
+ (binding (key-binding
(kbd keys)
))
(alternate (when (and binding (symbolp binding))
(symbol-name binding))))
(cond (mode-res (cdr mode-res))